package com.xhsj.user.hr.process.query;

import lombok.Data;

/**
 * @Author: liuqinghua
 * @Description:发消息参数
 * @Data:2020/9/16
 */
@Data
public class ApprovalQuery {
    /**
     * 业务id
     */
    private Long dataId;

    /**
     * 标题
     */
    private String title;

    /**
     * 接收者用户id
     */
    private Object userId;

    /**
     * 接收者角色id
     */
    private Object roleIds;

    /**
     * 项目id(1 专利 2 证章 3 供应链 4 HR)
     */
    private Integer projectId;

    /**
     * 当前用户id
     */
    private Long currentUserId;

    /**
     * 申请人名称 - dataId相关数据创建人
     */
    private String createName;


    public ApprovalQuery() {
    }

    public ApprovalQuery(Long dataId, String title, Object userId, Object roleIds, Integer projectId, Long currentUserId, String createName) {
        this.dataId = dataId;
        this.title = title;
        this.userId = userId;
        this.roleIds = roleIds;
        this.projectId = projectId;
        this.currentUserId = currentUserId;
        this.createName = createName;
    }
}
